import { Commit } from "vuex";
interface Idiss {
  [key: string]: any;
}
interface IState {
  diss: Array<Idiss>;
}
interface IDis1 {
  namespaced: boolean;
  state: IState;
  actions: {
    getdis1: ({ commit }: { commit: Commit }) => void;
  };
  mutations: {
    GET_DIS: (state: IState, { res }: { res: Idiss[] }) => void;
  };
}

interface Idiss2 {
  [key: string]: any;
}
interface IState2 {
  diss: Array<Idiss2>;
}
interface IDis2 {
  namespaced: boolean;
  state: IState2;
  actions: {
    getdis1: ({ commit }: { commit: Commit }, { id }: { id: string }) => void;
  };
  mutations: {
    GET_DIS: (state: IState2, { res }: { res: Idiss2[] }) => void;
  };
}
export { IDis1, IDis2 };
